package com.wang.springbootinit.constant;

public enum SystemEnum {
    SUCCESS(0,"请求成功"),
    ERROR(4002,"请求失败"),
    FAIL(4001,"系统内部异常"),
    NOLOGIN(-1,"用户未登录"),
    ANALYSE_ERROR(4002,"图表结论解析错误");

    private final Integer code;

    private final String msg;


    public Integer getCode() {
        return code;
    }

    public String getMsg() {
        return msg;
    }

    SystemEnum(Integer code, String msg) {
        this.code = code;
        this.msg = msg;
    }
}
